{% extends 'base.html' %}
{% block stylesheet %}
{{ block.super }}
{% endblock%}

{% block javascript %}
{{ block.super }}
{% endblock%}
{% block content %}
<div id="navi">
    <a href="{% url school_list %}">school list</a>
</div>

<table>
{% for oneclass in oneclasses %}
    <tr>
        <td><a href="">{{ oneclass.name }}</a></td>
    </tr>
{% endfor %}

{% regroup oneclasses|dictsort:"start_time" by start_time as date_list %}

<ul>
{% for start_time in date_list %}
    --------------------------------------------------
    <ul>
        {% for item in start_time.list %}
        <li>{{ item.name }}</li>
        {% endfor %}
    </ul>
{% endfor %}
</ul>

</table>
{% endblock %}